<?php 
	$res = Resource::getInstance();
	$res->addJs('/js/app/system/common.js' , -2);
	$res->addJs('/js/app/system/Application.js' , -1);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?php echo $this->page->title;?>  .:: ADMIN PANNEL ::.  </title>

<link rel="stylesheet" type="text/css" href="/js/lib/extjs4/resources/css/ext-all-gray.css" />

<!-- Ext 4 framework -->
<?php 
if($this->development){
    echo '<script type="text/javascript" src="/js/lib/extjs4/ext-all-debug.js"></script>' ."\n";
}else {
    echo '<script type="text/javascript" src="/js/lib/extjs4/ext-all.js"></script>' . "\n";
}

echo '<script type="text/javascript" src="/js/lang/'.$this->lang.'.js"></script>' . "\n";

?>
<link rel="stylesheet" type="text/css" href="/templates/system/default/css/style.css" />
<script type="text/javascript" src="/js/lib/jquery.js"></script>
<?php  echo $this->resource->includeCss() , $this->resource->includeJs(true , false);?>
</head>
<body>
<?php  echo $this->render($this->path . 'menu.php'); ?>
<div id="footer" class="x-hidden">
 <div align="center">PHPVeil v<?php echo $this->version;?></div>
</div>
</body>
</html>

<?php 
//
//if($this->lang!='en'){
//    echo '<script type="text/javascript" src="/js/lib/extjs3/src/locale/ext-lang-'.$this->lang.'.js"></script>' . "\n";
//}
//
?>